package com.czxy.tanhua.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 黑名单
 * </p>
 *
 * @author 爱吃豆的土豆
 * @since 2023-03-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_black_list")
public class BlackList extends BasePojo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("user_id")
    private Long userId;

    @TableField("black_user_id")
    private Long blackUserId;

    @TableField(exist = false)
    private String avatar;

    @TableField(exist = false)
    private String nickname;

    @TableField(exist = false)
    private String gender;

    @TableField(exist = false)
    private Integer age;

}
